import request from '@/utils/request'
const api_group = 'search'
const api_name = 'tsg'
export default {
    list(page, size) {
        return request({
            url: `/${api_group}/${api_name}/all/${page}/${size}`,
            method: 'get'
        })
    },
    findbylist(page, size, label) {
        return request({
            url: `/${api_group}/${api_name}/search/${page}/${size}`,
            method: 'post',
            data: label
        })
    }
}
